projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbdf386
)
spi: Migrate CONFIG_LPC32XX_SSP to Kconfig
author
Tuomas Tynkkynen
<
[email protected]
>
Wed, 7 Feb 2018 00:42:21 +0000
(
02:42
+0200)
committer
Tom Rini
<
[email protected]
>
Wed, 14 Feb 2018 04:01:44 +0000
(23:01 -0500)
Signed-off-by: Tuomas Tynkkynen <
[email protected]
>
configs/devkit3250_defconfig
patch
|
blob
|
history
configs/work_92105_defconfig
patch
|
blob
|
history
drivers/spi/Kconfig
patch
|
blob
|
history
include/configs/devkit3250.h
patch
|
blob
|
history
include/configs/work_92105.h
patch
|
blob
|
history
scripts/config_whitelist.txt
patch
|
blob
|
history
diff --git
a/configs/devkit3250_defconfig
b/configs/devkit3250_defconfig
index 0b9223f37aa3bfe0841f044f000a5d5406d3fdf8..fcc80b2027bf823a920c8a267d5b2b5ba7d6c8b6 100644
(file)
--- a/
configs/devkit3250_defconfig
+++ b/
configs/devkit3250_defconfig
@@
-38,6
+38,7
@@
CONFIG_SPL_NAND_SIMPLE=y
CONFIG_PHYLIB=y
CONFIG_DM_SERIAL=y
CONFIG_SYS_NS16550=y
+CONFIG_LPC32XX_SSP=y
CONFIG_USB=y
CONFIG_USB_STORAGE=y
CONFIG_OF_LIBFDT=y
diff --git
a/configs/work_92105_defconfig
b/configs/work_92105_defconfig
index fb287bdeac8d921c0fbe3a8536dddc533a743b33..2451b56135a35edef65cc3fc65034eeb9c63a3f2 100644
(file)
--- a/
configs/work_92105_defconfig
+++ b/
configs/work_92105_defconfig
@@
-37,3
+37,4
@@
CONFIG_DM_GPIO=y
CONFIG_PHYLIB=y
CONFIG_DM_SERIAL=y
CONFIG_SYS_NS16550=y
+CONFIG_LPC32XX_SSP=y
diff --git
a/drivers/spi/Kconfig
b/drivers/spi/Kconfig
index a16faa6dfb5ea035109a730e473401c927d240bb..79cd54e10cb08a91d7a2ed61c05f13460a7f4989 100644
(file)
--- a/
drivers/spi/Kconfig
+++ b/
drivers/spi/Kconfig
@@
-257,6
+257,11
@@
config TI_QSPI
Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms.
This driver support spi flash single, quad and memory reads.
+config LPC32XX_SSP
+ bool "LPC32XX SPI Driver"
+ help
+ Enable support for SPI on LPC32xx
+
config MPC8XX_SPI
bool "MPC8XX SPI Driver"
depends on 8xx
diff --git
a/include/configs/devkit3250.h
b/include/configs/devkit3250.h
index 71ca127f3f62747ea2edf4d26819c47b65856d23..31fad7d8868fa3ce3235383c890585b9c89af5d4 100644
(file)
--- a/
include/configs/devkit3250.h
+++ b/
include/configs/devkit3250.h
@@
-63,7
+63,6
@@
/*
* SSP/SPI
*/
-#define CONFIG_LPC32XX_SSP
#define CONFIG_LPC32XX_SSP_TIMEOUT 100000
/*
diff --git
a/include/configs/work_92105.h
b/include/configs/work_92105.h
index efb8901af6267dc2b01aa46d225d11cae538ef1e..cb77d1862c531aa3862b4aa46e3eaf8183cdc589 100644
(file)
--- a/
include/configs/work_92105.h
+++ b/
include/configs/work_92105.h
@@
-124,7
+124,6
@@
* SSP/SPI/DISPLAY
*/
-#define CONFIG_LPC32XX_SSP
#define CONFIG_LPC32XX_SSP_TIMEOUT 100000
/*
* Environment
diff --git
a/scripts/config_whitelist.txt
b/scripts/config_whitelist.txt
index b340fc12d96f95cb807cf9ac5a9d7f22f4932db9..53583962cf7d2c7239c0ba9429e3e754d4f88587 100644
(file)
--- a/
scripts/config_whitelist.txt
+++ b/
scripts/config_whitelist.txt
@@
-1249,7
+1249,6
@@
CONFIG_LPC32XX_NAND_SLC_WSETUP
CONFIG_LPC32XX_NAND_SLC_WWIDTH
CONFIG_LPC32XX_SDRAM_
CONFIG_LPC32XX_SPL
-CONFIG_LPC32XX_SSP
CONFIG_LPC32XX_SSP_TIMEOUT
CONFIG_LPC_BASE
CONFIG_LPC_IO_BASE